<script src="/common/media.js"></script>
<script src=/permissions-policy/resources/autoplay.js></script>
<script>
'use strict';

window.addEventListener('load', () => {
  isAutoplayAllowed().then((result) => {
    window.parent.postMessage({ enabled: result }, '*');
  });
}, { once: true });
</script>
